package com.liujit.common.exception;

import com.liujit.common.enums.ResultCode;

/**
 * @Description: 参数验证失败异常
 * @Author: liujun
 * @Date: 2021/7/1 2:01 下午
 */
public class ParamInvalidException extends BusinessException {

    private static final long serialVersionUID = 3721036867889297081L;

    public ParamInvalidException() {
        super(ResultCode.PARAM_INVALID);
    }

    public ParamInvalidException(Object errors) {
        this();
        super.errors = errors;
    }
}
